package com.ekingwin.www.esb.HNYG_046_SAP_PR_PP_0_OrderReceiptPost;

public class HNYG046_SAPPR_PP_0_OrderReceiptPost_pttProxy implements com.ekingwin.www.esb.HNYG_046_SAP_PR_PP_0_OrderReceiptPost.HNYG046_SAPPR_PP_0_OrderReceiptPost_ptt {
  private String _endpoint = null;
  private com.ekingwin.www.esb.HNYG_046_SAP_PR_PP_0_OrderReceiptPost.HNYG046_SAPPR_PP_0_OrderReceiptPost_ptt hNYG046_SAPPR_PP_0_OrderReceiptPost_ptt = null;
  
  public HNYG046_SAPPR_PP_0_OrderReceiptPost_pttProxy() {
    _initHNYG046_SAPPR_PP_0_OrderReceiptPost_pttProxy();
  }
  
  public HNYG046_SAPPR_PP_0_OrderReceiptPost_pttProxy(String endpoint) {
    _endpoint = endpoint;
    _initHNYG046_SAPPR_PP_0_OrderReceiptPost_pttProxy();
  }
  
  private void _initHNYG046_SAPPR_PP_0_OrderReceiptPost_pttProxy() {
    try {
      hNYG046_SAPPR_PP_0_OrderReceiptPost_ptt = (new com.ekingwin.www.esb.HNYG_046_SAP_PR_PP_0_OrderReceiptPost.HNYG046_SAPPR_PP_0_OrderReceiptPost_pttBindingQSServiceLocator()).getHNYG046_SAPPR_PP_0_OrderReceiptPost_pttBindingQSPort();
      if (hNYG046_SAPPR_PP_0_OrderReceiptPost_ptt != null) {
        if (_endpoint != null)
          ((javax.xml.rpc.Stub)hNYG046_SAPPR_PP_0_OrderReceiptPost_ptt)._setProperty("javax.xml.rpc.service.endpoint.address", _endpoint);
        else
          _endpoint = (String)((javax.xml.rpc.Stub)hNYG046_SAPPR_PP_0_OrderReceiptPost_ptt)._getProperty("javax.xml.rpc.service.endpoint.address");
      }
      
    }
    catch (javax.xml.rpc.ServiceException serviceException) {}
  }
  
  public String getEndpoint() {
    return _endpoint;
  }
  
  public void setEndpoint(String endpoint) {
    _endpoint = endpoint;
    if (hNYG046_SAPPR_PP_0_OrderReceiptPost_ptt != null)
      ((javax.xml.rpc.Stub)hNYG046_SAPPR_PP_0_OrderReceiptPost_ptt)._setProperty("javax.xml.rpc.service.endpoint.address", _endpoint);
    
  }
  
  public com.ekingwin.www.esb.HNYG_046_SAP_PR_PP_0_OrderReceiptPost.HNYG046_SAPPR_PP_0_OrderReceiptPost_ptt getHNYG046_SAPPR_PP_0_OrderReceiptPost_ptt() {
    if (hNYG046_SAPPR_PP_0_OrderReceiptPost_ptt == null)
      _initHNYG046_SAPPR_PP_0_OrderReceiptPost_pttProxy();
    return hNYG046_SAPPR_PP_0_OrderReceiptPost_ptt;
  }
  
  public void HNYG046_SAPPR_PP_0_OrderReceiptPost(java.lang.String data, javax.xml.rpc.holders.StringHolder SIGN, javax.xml.rpc.holders.StringHolder message) throws java.rmi.RemoteException, com.ekingwin.www.esb.HNYG_046_SAP_PR_PP_0_OrderReceiptPost.QueryFault{
    if (hNYG046_SAPPR_PP_0_OrderReceiptPost_ptt == null)
      _initHNYG046_SAPPR_PP_0_OrderReceiptPost_pttProxy();
    hNYG046_SAPPR_PP_0_OrderReceiptPost_ptt.HNYG046_SAPPR_PP_0_OrderReceiptPost(data, SIGN, message);
  }
  
  
}